defmodule ExamAssetDb do
	@moduledoc false

	#	use PsqlSchema
	use Neo4jSchema
	#	use PsqlRepo

	schema "test" do
		field :id, :string, desc: "唯一id"
		field :asset_category_id, :integer, desc: "类别唯一id"
		field :warehouse, :string, desc: "仓库id"
		field :spec, :integer, desc: "规格"
		field :amount, :float, desc: "剩余量"
		field :imgs, :jsonb, null: true, default: %{}, desc: "图片"
		field :info, :jsonb, default: %{}, desc: "其他详情|试剂的信息,等等"
		field :ts, :date, desc: "添加时间"
		#		primary_key :id
		foreign :asset_category, ExampleAssetCategoryDb, for: :asset_category_id
		#		pipelines %{"list" => {AssetPipe, :list, []}}
	end

end
